![]() |
PBSetForeignPrivsSync |
||||
Header: | Files.h | Carbon status: | Supported | |
Changes the native access-control information for a file or directory stored on a volume managed by a foreign file system.
OSErr PBSetForeignPrivsSync ( HParmBlkPtr paramBlock );
A pointer to a foreignPrivParam variant of the HFS parameter block.
A result code.
The relevant fields of the parameter block are:
On input, a pointer to a completion function.
On output, the result code of the function.
On input, a pointer to a file or directory name
On input, a volume specification.
On input, a pointer to the privilege information buffer.
On input, the size allocated for the buffer.
On input, the amount used in buffer.
On input, the parent directory ID.
On input, information specific to the privilege model.
On input, information specific to the privilege model.
On input, information specific to the privilege model.
On input, information specific to the privilege model.
The PBSetForeignPrivsSync function allows your application or shell program to communicate with a foreign file system about its native access-control system. This function sets access permissions for a file or directory on a volume managed by a file system that uses a privilege model different from the AFP model.
Supported in Carbon. Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.
© 2000 Apple Computer, Inc. — (Last Updated 5/8/2000)